﻿using System;
using System.Diagnostics.Contracts;
using System.Web.Routing;

namespace MvcPipe
{
    public sealed class PipeletDescription
    {
        private readonly RouteValueDictionary routeValues = new RouteValueDictionary();

        public string               Name        { get; set; }
        public string               Action      { get; set; }
        public string               Controller  { get; set; }
        public RouteValueDictionary RouteValues { get { return routeValues; } }
        public bool                 ForceAsync  { get; set; }
    }
}